﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="BolaoDNA.DomainModel" namespace="BolaoDNA.DomainModel">
	<class name="Jogo" table="Jogo" schema="dbo">
			<id name="ID" column="ID">
				<generator class="identity" />
			</id>
			<property name="PlacarCasa" column="PlacarCasa" />
			<property name="PlacarVisitante" column="PlacarVisitante" />
			<property name="DataHora" column="DataHora" />
			<property name="Status" column="Status" />
			<many-to-one name="EquipeCasa" column="EquipeCasa_ID" />
			<many-to-one name="EquipeVisitante" column="EquipeVisitante_ID" />
			<many-to-one name="Competicao" column="Competicao_ID" />
	</class>
</hibernate-mapping>
